

<style>
.media-body .summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	text-overflow: ellipsis;
    overflow: hidden;
}
.media-list img {width: 200px;}
@media (max-width: 425px)  {
    .media-list img {width: 115px;}	
    .media-body .summary {display: none;}
}
</style>

<h3 class="page-header">用户详细信息
</h3>

<br>

<ul class="media-list">

    <li class="media">
        <div class="media-left">
            <?php if (strpos($ret['pic'], '://') !== false):?>
            <?= HTML::image($ret['pic'].'?imageView2/2/w/160/h/120') ?>
            <?php else:?>
            <?= HTML::image('/imagefly/w160-h120-c/' . $ret['pic']) ?>
            <?php endif;?>
        </div>
        
        <div class="media-body">
            <h4 class="media-heading">
            <a href="//wx.redcells.cc/article?id=<?= $ret['id']?>" target="_blank"><?= $ret['nick_name'] ?></a>
            </h4>
            <p class="text-muted summary">
            <?php foreach($personCategory as $p_item): ?>
            	<?php if($ret['cid'] == $p_item['id']):?>
            		<?= $p_item['name']?>
            	<?php endif;?>
            <?php endforeach;?>
            (<?= $ret['area'] ?>)</p>
            <p class="text-muted summary">工作年限:<?= $ret['work_year'] ?>年</p>
            <p class="text-muted summary">作&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;品:<?= 1 ?></p>
            <p class="text-muted summary">薪&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;资:<?= 1 ?>元/天</p>
        </div>
    </li>

</ul>


